#!/bin/bash

path=$1
interval=$2

if [[ -z ${path} ]]; then
	path="./"
fi

if [[ -z ${interval} ]]; then
	interval=1
fi

while [[ 1 ]]; do
  #statements
  ls -lh ${path}
  sleep ${interval}
done
